﻿@using doufu.Common
@model doufu.Model.story
<h2>@Model.story_title @if (this.HasLogin())
                      {
                <a href="@Url.Action("Add", "Story", new { Model.id })"><small><em>修改</em></small></a>
                      }</h2><h6></h6>
<p class="well well-small">
    <small>由 @Model.created_by_name 创建于 @Model.created_at,共查看@(Model.click)次</small>
</p>
<div style="border: 1px solid #fff;color:Green;margin:10px 0">
@Model.story_seo
</div>
<div class="well">
    @Html.Raw(Model.story_content)
</div>
<div class="well well-small">类别：@Model.category_name</div>

<!-- Duoshuo Comment BEGIN -->
    <div class="ds-thread" data-thread-key="@Model.guid" data-title="@Model.story_title" data-category="@Model.story_category" data-author-key="@Model.created_by"></div>
    <script type="text/javascript">
        var duoshuoQuery = { short_name: "doufu" };
        (function () {
            var ds = document.createElement('script');
            ds.type = 'text/javascript'; ds.async = true;
            ds.src = 'http://static.duoshuo.com/embed.js';
            ds.charset = 'UTF-8';
            (document.getElementsByTagName('head')[0]
            || document.getElementsByTagName('body')[0]).appendChild(ds);
        })();
	</script>
<!-- Duoshuo Comment END -->
